package com.two.service.pinglun.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.two.common.entity.Pinglun;
import com.two.service.pinglun.vo.SayVo;
import com.two.service.pinglun.vo.SelectVo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface PinglunMapper extends BaseMapper<Pinglun> {

    List<Pinglun> selectByRidAndUid(SelectVo selectVo,Integer rid,Integer roleid);


    void updateSay(SayVo sayVo);


    List<Pinglun> selectByusermonicker(String dishName, Integer rid);
}
